package com.atguigu.scala.chapter_03

object Scala_02 {
  def main(args: Array[String]): Unit = {
    val name = "黄刚"
    println(name)
    var age = 20
    val gender = "male";
    val sex = "femal"
    println(s"age=$age,gender=$gender,sex=$sex")
    val + = 2501
    val - = 1840
    //    println(`-`- 1 )
//    println(`-` - 1)
    println(`+`.-(-))
    printf("age=%s",name)

  }


}
